<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ include file="/view/common/init.jsp"%>
<title>Chi tiết user</title>
<center>
<div class="header">THÔNG TIN USER</div>
<div style="width: 980px;">
<table class="tbl_info" border="0" width="613">
	<tbody>
		<tr>
			<td class="hed" colspan="2" />THÔNG TIN USER</td>
		</tr>
		<tr><td>User ID:</td><td><c:out value="${user.userId}"/></td></tr>
		<tr><td>Username:</td><td><c:out value="${user.userName}"/></td></tr>
		<tr><td>Tên đầy đủ</td><td><c:out value="${user.fullName}"/></td></tr>
		<tr><td>Số di động</td><td><c:out value="${user.mobile}"/></td></tr>
		<tr><td>Email</td><td><c:out value="${user.email}"/></td></tr>
		<tr><td>Thông tin khác</td><td><c:out value="${user.description}"/></td></tr>
		<tr><td>Nhận báo cáo ngày</td><td>
			<c:choose>  
				<c:when test='${user.dailyReport eq 1}'>  
					Có
				</c:when>  
				<c:otherwise>  
					Không
				</c:otherwise> 
			</c:choose>		
		</td></tr>
		<tr><td>Cảnh báo</td><td>
			<c:choose>  
				<c:when test='${user.alarm eq 1}'>  
					Có
				</c:when>  
				<c:otherwise>  
					Không
				</c:otherwise> 
			</c:choose>		
		</td></tr>
		<tr><td>Group</td>
			<td>
				${user.groupName}
			</td>
		</tr>					
</tbody>
</table>
<div style="margin-top: 30px;">
	<button type="button" onclick="history.back();">Trở lại</button>
</div>
</div>
</center>